package recursion;

public class Feibonaaci {
    static int feibonaaci(long i) {
        if (i == 1 || i == 2) return 1;
        else return feibonaaci(i - 1) + feibonaaci(i - 2);
    }

    public static void main(String[] args) {
        System.out.println(feibonaaci(2));
    }
}
